package net.maku.module.train.convert;

import net.maku.module.train.entity.TrainLogEntity;
import net.maku.module.train.vo.TrainLogVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_培训记录
*
* @author    
*/
@Mapper
public interface TrainLogConvert {
    TrainLogConvert INSTANCE = Mappers.getMapper(TrainLogConvert.class);

    TrainLogEntity convert(TrainLogVO vo);

    TrainLogVO convert(TrainLogEntity entity);

    List<TrainLogVO> convertList(List<TrainLogEntity> list);

}